home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1035 / 1035.xpi / chrome / 1clickweather.jar / content / 1clickweather / 1clickweather.xul < prev    next >
Extensible Markup Language  |  2008-10-05  |  3KB  |  76 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ∩┐╜ 2005 The Weather Channel Interactive, Inc.  All Rights Reserved. -->
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  5. <?xml-stylesheet href="chrome://1clickweather/skin/1clickweather.css" type="text/css"?>
  6.  
  7. <!DOCTYPE overlay SYSTEM "chrome://1clickweather/locale/1clickweather.dtd">
  8.  
  9. <overlay id="1clickweatherOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  10.  
  11. <!-- load up the main javascript source file-->
  12. <script type="application/x-javascript" src="chrome://1clickweather/content/js/common.js"></script> 
  13. <script type="application/x-javascript" src="chrome://1clickweather/content/js/1clickweather.js"></script> 
  14. <script type="application/x-javascript">
  15.    window.addEventListener("load", goInit, false);
  16.    window.addEventListener("unload", goShutdown, false);
  17.    window.addEventListener("load",initializeOverlay,false);
  18. </script>
  19.  
  20. <!-- create an overlay that lives in the status bar -->
  21. <statusbar id="status-bar" context="statusbar.root">
  22.  
  23.    <!-- we have some generic tooltips that don't really change so we just stick them in here -->
  24.    <popupset>
  25.        <!--
  26.          <tooltip id="quickLaunchTooltip" orient="vertical">
  27.               <label value="Quick Launch:" />
  28.           <description style="height:45px;width:380px;font-size:11px;">
  29. Quick access to interesting and useful features on weather.com® including your 
  30. 36-hour and 10-day extended forecasts, a vacation planner, a sun safety 
  31. advisor, a fitness forecast, and more.
  32.          </description>
  33.      <image src='chrome://1clickweather/skin/icons/other/blank.gif' width='300' height='2'/>
  34.       </tooltip>
  35.       
  36.      -->
  37.     <!--ToolTip Int┬┤l Satellite Maps-->
  38.       <tooltip id="sateliteTooltip" orient="vertical">
  39.           <image id="satelliteImage" src='' width="277" height="187"/>
  40.       </tooltip>
  41.  
  42. <!--ToolTip Video On-Demand-->
  43.       <tooltip id="videoTooltip" orient="vertical">
  44.          <label value="Video On-Demand:" /> 
  45.          <label id="videoTooltipUrl" value="Your default video selection." />
  46.          <description style="height:25px;width:180px;font-size:11px;">
  47. 1 of 8 video segments available.
  48.          </description>
  49.      <image src='chrome://1clickweather/skin/icons/other/blank.gif' width='300' height='2'/>
  50.       </tooltip>
  51.       
  52. <!--ToolTip Int┬┤l Doppler Radar-->
  53.       <tooltip id="radarTooltip" orient="vertical">
  54.           <label id="lblTest"></label>
  55.           <image id="dopplerImage" src='http://bd.image.weather.com/web/radar/us_nw_9regradar_small_usen.jpg' width="277" height="187"/>
  56.       </tooltip>
  57.       
  58.       <!-- Hour-By-Hour Tooltip -->
  59.       <tooltip id="hourbyhourTooltip" orient="vertical">
  60.           <label value="Hour-By-Hour:" />
  61.           <description style="height:25px;width:180px;font-size:11px;">
  62.               Your local hour-by-hour forecast
  63.           </description>    
  64.       </tooltip>
  65.       
  66.        <!-- Hour-By-Hour Tooltip -->
  67.       <tooltip id="tendayfcstTooltip" orient="vertical">
  68.           <label value="10-Day Forecast:" />
  69.           <description style="height:25px;width:180px;font-size:11px;">
  70.               Your local 10-day forecast
  71.           </description>    
  72.       </tooltip>
  73.       
  74.    </popupset>
  75. </statusbar>
  76. </overlay>